//
//  BLCyclePictureItem.swift
//  BLLiveTelecast
//
//  Created by BigL055 on 16/5/27.
//  Copyright © 2016年 bigL.liveTelecast.com. All rights reserved.
//

import UIKit

class BLSlideItem: NSObject {
    
    var id : Int? = 0
    //大图
    var pic_url : String? = ""
    //小图
    var tv_pic_url : String? = ""
    //名称
    var title : String? = ""
    
    var roomDetal = BLDouyuRoomDetalModal()
    
    
    class func initWithDict(dict : [String : AnyObject]) -> BLSlideItem{
        let item = BLSlideItem()
        item.setValuesForKeysWithDictionary(dict)
        
        let roomDetalDic = dict["room"] as! [String : AnyObject]
        item.roomDetal = BLDouyuRoomDetalModal.initWithDict(roomDetalDic)
        
        
        return item
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    
    
}
